
{# src/Site/GeneralBundle/Resources/views/Default/index.twig.html #}
{# Autheur : Brett Choquet #}

{% extends "::layout.html.twig" %}

{% block title %}
Index - {{ parent() }}
{% endblock %}


{% block body %}

<h2 style="text-align:center" class="sub-header">Dates des soutenances</h2>
<div class="table-responsive">

  <table class="table table-striped">
    <thead>
      <tr>
        <th>Titre du projet</th>
        <th>Date de la soutenance</th>
	<th>Lieu</th>
        <th>Jury 1</th>
        <th>Jury 2</th>
      </tr>
    </thead>
    <tbody>
      {% for projet in listeProjet %}
      <tr>
        <td>{{ projet.titre }}</td>
        <td>{{ projet.soutenance.rdv.Date | date("d-m-Y H:i") }}</td>
        <td>{{ projet.soutenance.rdv.salle }}</td>
        <td>{{ projet.soutenance.jury }}</td>
        <td>{{ projet.soutenance.jure2 }}</td>
    </tr>
      {% endfor %}
    </tbody>
  </table>
</div>

{% endblock %}
